package com.cloud.poetry.file.service.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author mengxj
 */
@Data
@Component
public class FileProperties {

    @Value("${minio.access-key}")
    private String accessKey;

    @Value("${minio.secret-key}")
    private String secretKey;

    @Value("${minio.server-path}")
    private String serverPath;

    @Value("${minio.bucket}")
    private String bucket;

    @Value("${minio.folder-name}")
    private String folderName;
}
